package com.z100h.supplychain.evidence.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.jeeplus.core.persistence.BaseMapper;
import com.jeeplus.core.persistence.annotation.MyBatisMapper;
import com.z100h.supplychain.evidence.entity.WarehouseReceipt;
import com.z100h.supplychain.evidence.entity.WarehouseReceiptVO;

/**
 * 入库单
 */
@MyBatisMapper
public interface WareReceiptMapper extends BaseMapper<WarehouseReceipt> {

	public void addWarehouseReceipt(WarehouseReceipt warehouseReceipt);

	public void updateWarehouseReceipt(WarehouseReceipt warehouseReceipt);

	public WarehouseReceipt getWarehouseReceipt(WarehouseReceipt warehouseReceipt);


	/**
	 * 入库下载打码
	 * @param warehouseReceipt
	 * @return
	 */
	public List<WarehouseReceiptVO> findWarehouseReceiptToResourceByExcel(@Param("warehouseReceipt") WarehouseReceipt warehouseReceipt,
			@Param("rfidLength") String rfidLength,@Param("rfidPrefix") String rfidPrefix,@Param("rfidQrcodeUrl") String rfidQrcodeUrl);

}
